package com.xuebang.admin.service;

import java.util.List;

import javax.inject.Inject;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.xuebang.admin.dao.Finder;
import com.xuebang.admin.entity.OperatorRules;
import com.xuebang.admin.mapper.OperatorRulesMapper;


@Service
@Transactional
public class OperatorRulesService {
	private Logger logger = LoggerFactory.getLogger(OperatorRulesService.class);

	@Inject
	private OperatorRulesMapper operatorRulesMapper;


	@Inject
	Finder finder;

	public List<OperatorRules> all() {
		return finder.from("operator_rules").all(OperatorRules.class);
	}

}
